#pragma once

#include "..//SGD Wrappers//SGD_GraphicsManager.h"
#include "..//SGD Wrappers//SGD_Geometry.h"
#include "..//SGD Wrappers//SGD_String.h"
#include <vector>

class Buttons
{
public:
	Buttons();
	~Buttons();

	void Render();
	void LoadImage(std::string filename);

	void	SetPosition(SGD::Point pos)		{ m_ptPosition = pos; }
	void	SetHighlighted(bool h)			{ m_bHighlight = h; }
	void	SetSelected(bool s)				{ m_bSelected = s; }
	void	SetText(SGD::String str)		{ m_szText = str; }
	void	SetImage(SGD::HTexture tex)		{ m_hImage.push_back(tex); }

	SGD::HTexture	GetImage(unsigned int index)	{ return m_hImage[index]; }

private:
	std::vector<SGD::HTexture>		m_hImage;
	SGD::Point						m_ptPosition;
	SGD::String						m_szText;

	bool							m_bHighlight = false;
	bool							m_bSelected = false;
};